<?php
namespace app\superclass\Controller;
use think\Controller;
use \think\Session;
class SuperClass extends Controller
{
    public function checklogin()
    {
        $user_state = Session::get('user_info');
        if(empty($user_state))
        {
            return FAlSE;
        }
        else
        {
            return TRUE;
        }
        
    }
}